package cn.asterly.cicada.mapper;

import cn.asterly.cicada.model.Problem;

import java.util.List;

public interface ProblemMapper {
    int deleteByPrimaryKey(String id);

    int insert(Problem record);

    int insertSelective(Problem record);

    Problem selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Problem record);

    int updateByPrimaryKey(Problem record);

    int deleteByPrimaryKeys(String[] ids);

    List<Problem> selectByAll(int curentPage, int pageSize);
}